package dto;

import java.util.List;

public class DataTableVO<T>
{
  private List<T> aaData;
  private int iTotalDisplayRecords;
  private int iTotalRecords;
  private int sEcho;
  
  public List<T> getAaData()
  {
    return this.aaData;
  }
  
  public void setAaData(List<T> aaData) { this.aaData = aaData; }
  
  public int getiTotalDisplayRecords() {
    return this.iTotalDisplayRecords;
  }
  
  public void setiTotalDisplayRecords(int iTotalDisplayRecords) { this.iTotalDisplayRecords = iTotalDisplayRecords; }
  
  public int getiTotalRecords() {
    return this.iTotalRecords;
  }
  
  public void setiTotalRecords(int iTotalRecords) { this.iTotalRecords = iTotalRecords; }
  
  public int getsEcho() {
    return this.sEcho;
  }
  
  public void setsEcho(int sEcho) { this.sEcho = sEcho; }
  
  public DataTableVO(List<T> aaData, int iTotalDisplayRecords, int iTotalRecords, int sEcho)
  {
    this.aaData = aaData;
    this.iTotalDisplayRecords = iTotalDisplayRecords;
    this.iTotalRecords = iTotalRecords;
    this.sEcho = sEcho;
  }
  
  public DataTableVO() {}
  
  public String toString()
  {
    return 
    
      "DataTableVO [aaData=" + this.aaData + ", iTotalDisplayRecords=" + this.iTotalDisplayRecords + ", iTotalRecords=" + this.iTotalRecords + ", sEcho=" + this.sEcho + "]";
  }
}

